package com.scedu.dao;

import com.scedu.entity.Student;
import com.scedu.vo.QueryParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentDao {
    //动态sql，使用java对象作为参数
   List<Student> selectStudentIf(Student student);
    List<Student> selectStudentWhere(Student student);
    //for 用法1
    public List<Student> selectFor(@Param("idlist") List<Integer> idlist);
    //for 用法2
    public List<Student> selectForStudent(@Param("idlistStudent") List<Student> idlistStudent);
    //查询所有学生
    List<Student> selectAllStudent();
}
